function main(params) {
    debugger
    var self = this;
    // 节点参数
    console.log(params);
    let tabIndex = self.$$("tabs_db62d6").params.currentTab
    let pageTableList = "";
    let queryElement = "";

    pageTableList = self.$$("page_widget_list_b5dp5d");
    queryElement = pageTableList.dataEngine.state.getElement("query_field_wrapper_hl8wk5");

    pageTableList1 = self.$$("page_widget_list_35fk13");
    queryElement1 = pageTableList1.dataEngine.state.getElement("query_field_wrapper_9ihybb");

    api.EXEC_FORMULA("TREE_QUERY_CHILDRENS('3a37a116-4da3-4e54-9f1d-e1b2c3ff79ad','" + params.id + "',['unit_id'])").then((res) => {
        // then() 为调用成功的回调
        // 获取所有子区划
        var regionIdList = res.result

        // 找到页面中的列表组件元素
        if (pageTableList) {
            if (pageTableList.dataEngine && pageTableList.dataEngine.state) {
                if (queryElement && queryElement.data && queryElement.data.members) {
                    const queryProjectIdModel = queryElement.data.members[0];
                    queryProjectIdModel.props.defaultValue.value = regionIdList;

                    const queryProjectIdModel1 = queryElement1.data.members[0];
                    queryProjectIdModel1.props.defaultValue.value = regionIdList;
                }
                let tableCondition = pageTableList.dataEngine.state.getElement("condition_fb83py");
                let tableCondition1 = pageTableList1.dataEngine.state.getElement("condition_fb83py");
                if (tableCondition) {
                    tableCondition.onQuery();
                    tableCondition1.onQuery();
                }

            }
        }
    }).catch(err => {
        self.$message.error(err.message); // 显示错误提示信息
    });
}
